package com.study.design.model.structPattern.proxy.staticProxy;

/**
* @Name: StarProxy
* @Description: 代理角色：明星代理类
* @Author: 李超	lc_jack@foxmail.com
* @CreateDate: 2017-2-10 下午8:50:26 
* @Version: V1.0
 */
public class StarProxy implements Star {
	
	private RealStar realStar ;

	public StarProxy(RealStar realStar) {
		this.realStar = realStar;
	}

	@Override
	public void confer() {
		System.out.println("代理-面谈！");
	}

	@Override
	public void signContract() {
		System.out.println("代理-签合同！");
	}

	@Override
	public void bookTicket() {
		System.out.println("代理-订飞机票！");
	}

	@Override
	public void sing() {
		realStar.sing() ;
	}

	@Override
	public void collectMoney() {
		System.out.println("代理-收钱！");
	}

}
